package com.phiture.erp.sale.api.service;

import com.phiture.erp.sale.api.pojo.req.ErpSaleReturnReq;
import com.phiture.erp.sale.api.pojo.resp.ErpSaleReturnItemsResp;
import com.phiture.erp.sale.api.pojo.resp.ErpSaleReturnResp;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface ErpSaleReturnApi {
    List<ErpSaleReturnResp> getErpSaleReturnList(ErpSaleReturnReq req);
    List<ErpSaleReturnItemsResp> getErpSaleReturnItemList(Map<Long, javafx.util.Pair<String, Long>> saleReturnMap);
    void backfillSaleReturnAccountCheckFlag(Collection<Long> saleReturnIds, Boolean accountCheckFlag);
    void updateSaleReturnAccountCheckFlag(Collection<String> saleReturnNos, Boolean accountCheckFlag);
}
